import request from '@/utils/request'
// /list-api/admin/product/list/1/10
export const getSkuInfoList = (page, limit) => request({
    url: `/list-api/admin/product/list/${page}/${limit}`,
    method: 'get'
})
// 上架 /list-api/admin/product/onSale/${id}
export const onSale = (id) => request({
    url: `/list-api/admin/product/onSale/${id}`,
    method: 'get'
})
// 下架 /list-api/admin/product/cancelSale/${id}
export const cancelSale = (id) => request({
    url: `/list-api/admin/product/cancelSale/${id}`,
    method: 'get'
})